<?php // no direct access
defined('_JEXEC') or die('Restricted access'); ?>
<?php /*?><ul class="latestnews<?php echo $params->get('moduleclass_sfx'); ?>">
<?php foreach ($list as $item) :  ?>
	<li class="latestnews<?php echo $params->get('moduleclass_sfx'); ?>">
		<a href="<?php echo $item->link; ?>" class="latestnews<?php echo $params->get('moduleclass_sfx'); ?>">
			<?php echo $item->text; ?></a>
	</li>
<?php endforeach; ?>
</ul><?php */?>

<div class="title-top clear">
    <span>
   	 <span></span>
    </span>
</div>
<div class="wrapper1">
    <div class="boxTitle">
   	 <h3>Latest News</h3>
    </div>
</div>
<div class="clear">
    <div class="title-bottom clear">
        <span>
     	   <span></span>
        </span>
    </div>
</div>
<div class="clear">
    <div class="boxIndent">
        <ul class="custom-box1">
			<?php 
			//print_r($list);
			foreach ($list as $item) :  ?>
                <li class="latestnews<?php echo $params->get('moduleclass_sfx'); ?>">
                <a class="bg1-top-left" href="<?php echo $item->link; ?>">
                    <span class="bg1-top-right">
                        <span class="bg1-bottom-left">
                            <span class="bg1-bottom-right">
                                <span class="custom-box1-inner">
                                    <span class="custom-box1a">
                                        <?php echo $item->introtext; ?>
                                    </span>
                                </span>
                            </span>
                        </span>
                    </span>
                </a>
                </li>
            <?php endforeach; ?>
        </ul>
    </div>
</div>